# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=py3-daiquiri
pkgver=2.1.1
pkgrel=0
pkgdesc="Library to configure Python logging easily"
url="https://github.com/jd/daiquiri"
arch="noarch"
license="Apache-2.0"
depends="py3-json-logger"
makedepends="py3-setuptools_scm"
checkdepends="py3-mock py3-pytest"
source="https://files.pythonhosted.org/packages/source/d/daiquiri/daiquiri-$pkgver.tar.gz"
builddir="$srcdir/"daiquiri-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="e36b9cd0c95b3e3c5e6f3c075a613ab618ef373698311c9cd0f78607fc9fec825b27f78f303c5ec1f858a056794497a454b14849b6a463f8584d200924177d44  daiquiri-2.1.1.tar.gz"
